-- GENERATED SPELL FOR [Anub'ar Underlord] --


function spell0_26605(pUnit, Event) --@Rearing Stomp,n/a--
pUnit:FullCastSpellOnTarget(51681,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26605', 6000, 1)
end

function Sorts_26605(pUnit, Event)
local choix_sorts_26605 = math.random(0, 0)
if choix_sorts_26605 == 0 then
pUnit:RegisterEvent('spell0_26605', 1, 1)
end
end

function mob26605_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26605', math.random(1500, 3000), 1)
end

function mob26605_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26605_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26605_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26605, 1, 'mob26605_Action')
RegisterUnitEvent(26605, 2, 'mob26605_Leave')
RegisterUnitEvent(26605, 3, 'mob26605_Kill')
RegisterUnitEvent(26605, 4, 'mob26605_Die')
